import { ResultCallback, DataCallback } from "../../SDKDefine";
import { BaseSDK } from "../base/BaseSDK";

export default abstract class BaseFileSystem extends BaseSDK{

    protected fs: any;
    protected sysPath: string = ''
    protected sdk: any



    init() {

    }
    writeFile(fileName: string, data: any, encoding: string, callback: ResultCallback) {

    }

    readFile(filePath: string, encoding: string, callback: DataCallback) {

    }
    abstract writeFileSync(filePath: string, data: any, encoding: string, param?: any): boolean;
    abstract readFileSync(filePath: string, encoding: string): any;
}
